@import '../app/variablesV2.css';

.wrapper {
  min-width: 580px;
  padding: 0;
  width: auto;

  & .detailsHeader {
    display: flex;
    justify-content: space-between;

    & > h1,
    & > .date {
      flex-basis: 50%;
      text-align: left;
    }

    & > .date {
      color: var(--color-dark-gray);
      font-family: var(--content-font);
      font-size: var(--paragraph-font-size-s);
      font-weight: var(--font-weight-bold);
      text-align: right;
    }
  }

  & .txIcon {
    background: var(--color-white);
    border: 4px solid var(--color-white);
    border-radius: 10px;
    box-sizing: border-box;
    height: 46px;
    transform: translateY(50%);
    width: 46px;
  }

  & .mainContent {
    padding: 40px 24px;
  }

  & .detailsFooter {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-top: 40px;

    & > div {
      align-items: flex-start;
      display: flex;
      flex-direction: column;

      &:last-child {
        align-items: flex-end;
      }
    }

    & .label {
      color: var(--color-dark-gray);
      font-family: var(--content-font);
      font-size: var(--paragraph-font-size-s);
      font-weight: var(--font-weight-bold);
      letter-spacing: 0.05px;
      line-height: 17px;
      margin-right: 5px;
    }

    & .value {
      color: var(--color-content-light);
      font-family: var(--content-font);
      font-size: var(--paragraph-font-size-l);
      font-weight: var(--font-weight-bold);
      letter-spacing: 0.05px;
      line-height: 18px;
      margin: 0;

      & img {
        display: inline-block;
        height: 16px;
        vertical-align: middle;
        width: 16px;
      }

      &:last-child {
        margin-top: 16px;
      }
    }

    & .clickable {
      cursor: pointer;
    }

    & .link {
      color: var(--color-link);
      cursor: pointer;
      font-family: var(--heading-font);
      font-size: var(--paragraph-font-size-l);
      font-weight: var(--font-weight-bold);
      text-decoration: underline;
    }

    & .copied {
      cursor: initial;
      opacity: 0.6;
      text-decoration: none;
    }
  }
}

@media (--small-viewport) {
  .wrapper {
    min-width: 0;
  }
}
